package com.bustle.product.data.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.bustle.commons.data.jpa.JpaDao;

public class ProductUnitDao<KeyType, Type> extends JpaDao<KeyType, Type>
{
  protected ProductUnitDao(Class<? extends Type> aClass)
  {
    super(aClass);
  }

  @Override
  protected EntityManager getEntityManager()
  {
    return entityManager;
  }

  @PersistenceContext(unitName = "bustle-soa-product-data")
  protected EntityManager entityManager;
}
